package com.bby.common.utils;

public class StatusCode {
    public static final int UNKNOWN_ERROR = 500;
    /**
     * 请求已正常处理
     */
    public static final int OK = 200;
    /**
     * 秒传
     */
    public static final int OK_FAST_UPLOAD = 2001;// 重要

    /**
     * 只完成部分
     */
    public static final int PART_FINISHED = 206;
    /**
     * 邮箱已存在
     */
    public static final int MAIL_ERROR = 2011;
    /**
     * 用户名不符合规范/已存在
     * 文件名不符合
     */
    public static final int NAME_ERROR = 2012;
    /**
     * 密码错误
     */
    public static final int PASS_ERROR = 2013;
    /**
     * 验证码输入错误
     */
    public static final int CAPTCHA_ERROR = 2013;
    /**
     * 文件已存在
     */
    public static final int FILE_ALREADY_EXIST = 2014;
    /**
     * 任务已存在
     */
    public static final int TASK_ALREADY_EXIST = 2015;
    /**
     * 上传失败
     */
    public static final int UPLOAD_ERROR = 2015;
    /**
     * 文件有错误
     */
    public static final int FILE_ERROR = 2015;
    public static final int ALREADY_EXIST = 2016;
    public static final int STORAGE_NOT_FREE = 2016;
    /**
     * 没权限
     */
    public static final int NON_AUTHORITY = 401;// 重要
    public static final int NOT_LOGIN = 402;// 重要
    /**
     * 资源不存在
     */
    public static final int NOT_FOUND = 404;
    /**
     * 用户名不存在
     */
    public static final int USER_NOT_FOUND = 4041;

    /**
     * 输入的参数不符合规范
     */
    public static final int INPUT_ERROR = 4011;
    public static final int FILE_PASS_ERROR = 4012;// 重要
    public static final int FILE_NEED_PASS = 4013;// 重要
    /**
     * 文件下载停止
     */
    public static final int DOWNLOAD_STOP_EX = 4014;
}
